package com.dajingling.service.impl;

import com.dajingling.bean.Bills;
import com.dajingling.bean.Billtype;
import com.dajingling.dao.BilltypeMapper;
import com.dajingling.service.BillTypeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

//创建对象
@Service
public class BillTypeServiceImpl implements BillTypeService {
    //赋值
    @Resource
    BilltypeMapper billtypeMapper;
    @Override
    public List<Billtype> getBillTypes() {
        return billtypeMapper.getBillTypes();
    }
}
